package com.yege.lab.user;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

/**
 * @author yege
 */
public class UserDto {
    private String email;
    private String name;
    private String pwd;
    private String activeCode;
    private int active;

    public UserDto() {
    }

    public UserDto(String email, String name, String pwd, String activeCode, int active) {
        this.email = email;
        this.name = name;
        this.pwd = pwd;
        this.activeCode = activeCode;
        this.active = active;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getActiveCode() {
        return activeCode;
    }

    public void setActiveCode(String activeCode) {
        this.activeCode = activeCode;
    }

    public int getActive() {
        return active;
    }

    public void setActive(int active) {
        this.active = active;
    }
}
